﻿<%@ Page Language="C#" ValidateRequest="false" MasterPageFile="~/Masters/Office.Master" AutoEventWireup="true" CodeBehind="AddEditItem.aspx.cs" Inherits="ASPNETVN.PORTAL.Modules.HTML.Controls.AddEditItem" %>
<%@ Register TagPrefix="FTB" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="ModuleContent">
        <asp:Label ID="Label1" runat="server" Text="THÊM MỚI" SkinID="Header"></asp:Label>
        <hr />
        <br />
        <table id="Table2" border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
            <tr valign="top">
                <td valign="top">
                    <table class="Panel" cellspacing="1" cellpadding="6" width="100%">
                        <tr>
                            <td align="right" class="LeftColumn" nowrap="nowrap" valign="top" width="1%">
                                Nội dung
                            </td>
                            <td class="RightColumn">
                                <FTB:FreeTextBox ID="txtHtmlContent" runat="Server" DesignModeCss="designmode.css" ImageGalleryPath="~/Data/DOWNLOADS/" ImageGalleryUrl="ftb.imagegallery.aspx?rif={0}&cif={0}" ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu,FontForeColorPicker,FontBackColorsMenu,FontBackColorPicker|Bold,Italic,Underline,Strikethrough,Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage|Cut,Copy,Paste,Delete;Undo,Redo,Print,Save|SymbolsMenu,StylesMenu,InsertHtmlMenu|InsertRule,InsertDate,InsertTime|InsertTable,EditTable;InsertTableRowAfter,InsertTableRowBefore,DeleteTableRow;InsertTableColumnAfter,InsertTableColumnBefore,DeleteTableColumn|InsertForm,InsertTextBox,InsertTextArea,InsertRadioButton,InsertCheckBox,InsertDropDownList,InsertButton|InsertDiv,EditStyle,InsertImageFromGallery,Preview,SelectAll,WordClean,NetSpell" Width="100%" ButtonSet="OfficeXP">
                                </FTB:FreeTextBox>
                            </td>
                        </tr>
                        </table>
                    <br />
                    <hr />
                    <br />
                    <div style="text-align: center">
                        <asp:LinkButton id="btnUpdate" runat="server" Text="<%$ Resources:Strings, BUTTON_SAVE %>" Width="80px"></asp:LinkButton>
                        <asp:LinkButton id="btnCancel" runat="server" Text="<%$ Resources:Strings, BUTTON_GOBACK %>" CausesValidation="False" Width="80px"></asp:LinkButton>
                        <asp:LinkButton id="btnDelete" runat="server" Text="Xóa" CausesValidation="False" OnClientClick="return confirm('Bạn có muốn xóa bài viết này không?')" Width="80px"></asp:LinkButton>
                    </div>
                    <br />
                    <br>
                    <div align="center">
                        <asp:ValidationSummary ID="ValidationSummary1" runat="server" HeaderText="Có các lỗi sau:" />
                        &nbsp;</div>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
